

<script>
export default {}
</script>


<template>
  <div>
    <table class="edit-table">
      <thead>
      <th>姓名</th><th>年龄</th><th>成绩</th><th>性别</th>
      </thead>
      <tbody>
      <tr><td><input value="张三"/></td><td><input value="30"/></td><td><input value="90"/></td><td><input value="女"/></td></tr>
      </tbody>
    </table>
  </div>
</template>


<style lang="scss">
  .edit-table{
    border:1px solid gray;
    border-collapse: collapse;
    th{
      border:1px solid gray;
    }
    tbody{

      tr{
        td{
          border:1px solid gray;
          input{
            border:none;
          }
        }
      }
    }
  }
</style>
